package com.wanbangee.marksystem.service;

import java.util.List;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.wanbangee.marksystem.entities.MStudent;

@FeignClient("setting-provider")
public interface SettingService {
	
	@RequestMapping(value="/selMStudent", method=RequestMethod.GET)
	public List<MStudent> selMStudent(@RequestParam("examId") Integer examId);
	@GetMapping("/selSubNm")
	public String selSubNm(@RequestParam("examSubId")Integer examSubId);
	
}
